package com.lx.lib.activity;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.FragmentTransaction;

import com.lx.commonlib.mvp.persenter.BasePresenter;
import com.lx.commonlib.mvp.view.activity.BaseActivity;
import com.lx.lib.R;
import com.lx.lib.fragment.SingleClickFragment;

/**
 * 类说明：ToolbarFragmentActivity
 * Created by liuxiong on 2020/1/14.
 */
public class ToolbarFragmentActivity extends BaseActivity {
    @Override
    protected BasePresenter createPresenter() {
        return null;
    }

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_toolbarfragment);

        FragmentTransaction bt = getSupportFragmentManager().beginTransaction();
        bt.add(R.id.flt_fragment_container,new SingleClickFragment());
        bt.commit();
    }
}
